<script setup lang="ts">
import ImgCutter from "vue-img-cutter";
import { defineEmits } from "vue";
let emits = defineEmits(["getData"]);
let cutDown = (data: any) => {
    let formData = new FormData();
    let { file } = data;
    formData.append("file", file);
    emits("getData", formData);
};
</script>
<template>
    <ImgCutter @cutDown="cutDown"></ImgCutter>
</template>
<style lang="scss" scoped></style>